<?php 

class LoginForm extends BaseForm
{
	public function configure()
	{	
		$this->disableLocalCSRFProtection();
		
		$this->widgetSchema['login'] = new sfWidgetFormInputText();
		$this->widgetSchema['login']->setAttribute('class', 'required');
		
		$this->widgetSchema['password'] = new sfWidgetFormInputPassword();
		$this->widgetSchema['password']->setAttribute('class', 'required');
	}
  
}
